* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

em,
i {
  font-style: normal;
}

body {
  background: url("../images/bg.jpg") no-repeat top;
  background-size: 100% 100%;
  color: #4c9bfd;
  padding-bottom: 20px;
}

.panel {
  border: solid;
  border-image-source: url(../images/border.png);
  border-image-width: 52px 51px 30px 130px;
  border-image-slice: 52 51 30 130;
  border-image-repeat: repeat;
}

header .logo {
  width: 100%;
}

.common-title {
  display: flex;
  align-items: center;
  padding-left: 35px;
  height: 60px;
  font-size: 20px;
  color: #fff;

  .line {
    width: 2px;
    height: 20px;
    background-color: #00f2f1;
    margin: 0 26px;
  }

  .abnormal {
    color: #4c9bfd;
  }
}

// 主体部分
.container {
  display: flex;
  padding: 0 20px;

  // 左边部分
  .container-left {
    width: 552px;

    .device {
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      height: 110px;
      margin-top: -30px;

      .device-item {
        .item-num {
          font-weight: 400;
          font-size: 22px;
          color: #fff;
          margin-bottom: 10px;
        }

        .item-text {
          font-size: 16px;

          i {
            margin-right: 3px;
            margin-left: -5px;
          }
        }

        &:nth-child(2) i {
          color: #6acca3;
        }

        &:nth-child(3) i {
          color: #6acca3;
        }

        &:nth-child(4) i {
          color: #ed3f35;
        }
      }
    }

    .monitoring {
      display: flex;
      flex-direction: column;
      height: 480px;
      margin: 20px 0;

      .list-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 35px;
        height: 38px;
        background-color: rgba(255, 255, 255, 0.2);
      }

      .list-body {
        // position: relative;
        flex: 1;
        padding: 0 35px;
        overflow: hidden;
        color: #599aea;

        .list-item {
          // position: absolute;
          // top: 0;
          display: flex;
          align-items: center;
          justify-content: space-between;
          height: 38px;
        }
      }
    }

    .point {
      height: 340px;

      .panel-body {
        display: flex;
        margin: 10px 0 20px;
        padding: 0 35px;

        .point-chart {
          flex: 1;
          margin-right: 10px;
        }

        .point-info {
          display: flex;
          flex-direction: column;
          justify-content: space-evenly;
          padding-left: 31px;
          width: 168px;
          height: 236px;
          background: url(../images/rect.png) no-repeat;

          .point-item {
            h4 {
              font-weight: normal;
              font-size: 25px;
              color: #fff;
              margin-bottom: 5px;
            }

            &:first-child i {
              color: #ed3f35;
            }

            &:last-child i {
              color: #eacf19;
            }
          }
        }
      }
    }
  }

  // 中间部分
  .container-center {
    flex: 1;
    margin: 0 20px;

    .title {
      display: flex;
      align-items: center;
      height: 54px;
      font-size: 20px;
      font-weight: 400;
      color: #fff;

      i {
        color: #68d8fe;
        margin-right: 3px;
      }
    }

    .map {
      height: 526px;
      background-color: rgba(255, 255, 255, 0.2);
      margin-bottom: 20px;
    }

    .user {
      height: 340px;

      .user-body {
        display: flex;
        margin: 10px 0 20px;
        padding: 0 35px;

        .user-chart {
          flex: 1;
          // background-color: #fff;
          margin-right: 10px;
        }

        .user-info {
          display: flex;
          flex-direction: column;
          justify-content: space-evenly;
          padding-left: 31px;
          width: 168px;
          height: 236px;
          background: url(../images/rect.png) no-repeat;

          .user-item {
            h4 {
              font-weight: normal;
              font-size: 25px;
              color: #fff;
              margin-bottom: 5px;
            }

            &:first-child i {
              color: #ed3f35;
            }

            &:last-child i {
              color: #eacf19;
            }
          }
        }
      }
    }
  }

  // 右边部分
  .container-right {
    width: 552px;

    .order {
      height: 148px;
      margin-top: -30px;

      .order-title {
        display: flex;
        align-items: center;
        padding-left: 35px;
        height: 60px;
        font-size: 20px;
        color: #4c9bfd;

        .line {
          width: 2px;
          height: 20px;
          background-color: #00f2f1;
          margin: 0 26px;
        }

        .current {
          color: #fff;
        }
      }

      .order-info {
        display: flex;
        align-items: center;
        padding-left: 35px;

        .order-item {
          flex: 1;

          .item-num {
            font-size: 26px;
            font-weight: 400;
            color: #fff;
            margin-bottom: 6px;
          }

          .item-text {
            font-size: 18px;

            i {
              color: #e43c33;
            }
          }

          &:last-child {
            margin-left: 100px;

            i {
              color: #eacf19;
            }
          }
        }
      }
    }

    .sell {
      display: flex;
      flex-direction: column;
      height: 248px;
      margin: 20px 0;

      .common-title {
        display: flex;

        .date {
          display: flex;

          li {
            width: 24px;
            height: 24px;
            line-height: 23px;
            margin-right: 30px;
            color: #0bace6;
            text-align: center;
            border-radius: 3px;
          }

          .current {
            color: #fff;
            background-color: #4c9bfd;
          }
        }
      }

      .sell-chart {
        flex: 1;
        margin: 0 35px;
        margin-bottom: 20px;
      }
    }

    .right-group {
      display: flex;
      height: 232px;
      margin: 20px 0;

      .channel {
        flex: 1;
        height: 232px;
        margin-right: 20px;

        .channel-body {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-evenly;
          padding-left: 35px;

          .channel-item {
            width: 50%;
            font-size: 25px;
            color: #fff;
            margin-bottom: 30px;

            i {
              display: block;
              font-size: 16px;
              color: #4c9bfd;
              margin-top: 10px;
            }

            span {
              font-size: 16px;
              margin-left: 3px;
            }
          }
        }
      }

      .progress {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 232px;

        .progress-chart {
          flex: 1;
          margin: 0 35px;
        }

        .progress-info {
          display: flex;
          align-items: center;
          padding: 0 35px;
          height: 80px;

          .progress-item {
            .item-num {
              font-size: 20px;
              color: #fff;
              margin-bottom: 3px;
            }

            .item-text {
              font-size: 16px;

              i {
                color: #6acca3;
              }
            }

            &:last-child i {
              color: #ed3f35;
            }
          }
        }
      }
    }

    .hot {
      display: flex;
      flex-direction: column;
      height: 283px;

      .hot-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 55px;
        padding: 0 45px 0 35px;
        font-size: 22px;
        color: #fff;

        .lately {
          font-size: 14px;
          width: 67px;
          height: 13px;
          display: flex;
          justify-content: center;
          align-items: center;
          color: #098dc2;
          background: url(../images/line.png) no-repeat;
        }
      }

      .hot-body {
        flex: 1;
        display: flex;
        padding: 15px 35px 30px;

        .col01 {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin-left: 25px;

          .col01-item {
            display: flex;
            align-items: center;

            i {
              font-size: 40px;
              margin-right: 10px;
            }
          }
        }

        .col02 {
          width: 156px;
          display: flex;
          flex-direction: column;
          margin-right: -30px;

          .col02-item {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
          }

          .current {
            background-color: rgba(255, 255, 255, 0.2);
          }
        }

        .icon-up {
          color: #dc3c33;
        }

        .icon-down {
          color: #36be90;
        }

        .col03 {
          width: 156px;
          background-color: rgba(255, 255, 255, 0.2);
          margin-left: 30px;
          display: flex;
          flex-direction: column;
          margin-right: -30px;

          .col03-item {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
          }
        }
      }
    }
  }
}